package com.nl.controller.web.bean;


import com.nl.controller.web.util.SetBeanUtil;

import java.util.List;


public class SmsUsers {

    private String userId;//用户ID

    private String userName;//姓名

    private String msisdn;//手机号码

    private String password;//密码

    private String cityId;//归属地市，如归属省值为25

    private String cityName;//项目归属地市名
    
    private String countyId;//归属区县

    private String countyName;//区县名

    private String duty;//0省公司管理员,1是地市管理员,2是项目经理 3是区县管理员 4.客户

    private String dutyName;//0省公司管理员,1是地市管理员,2是项目经理

    private String mgrId;//如果duty值为2项目经理，此字段值为项目id，多个项目ID用逗号隔开

    private String smsRuleName; //用户对应的角色

    private String smsRuleId;//用户对应的角色的id

    private String state;//0正常，1失效

    private String createTime;//创建时间

    private String modifyTime;//修改时间

    private List<SmsMgrTemplateInfo> list; //用户拥有的项目
    private String specialFlag;//特殊标识

    public String getSpecialFlag() {
		return specialFlag;
	}

	public void setSpecialFlag(String specialFlag) {
		this.specialFlag = specialFlag;
	}

	public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getMsisdn() {
        return msisdn;
    }

    public void setMsisdn(String msisdn) {
        this.msisdn = msisdn;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getCityName() {
        return SetBeanUtil.getCityName(this.cityId);
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getDuty() {
        return duty;
    }

    public void setDuty(String duty) {
        this.duty = duty;
    }

    public String getDutyName() {
        return SetBeanUtil.getDuty(this.duty);
    }

    public void setDutyName(String dutyName) {
        this.dutyName = dutyName;
    }

    public String getMgrId() {
        return mgrId;
    }

    public void setMgrId(String mgrId) {
        this.mgrId = mgrId;
    }

    public String getSmsRuleName() {
        return smsRuleName;
    }

    public void setSmsRuleName(String smsRuleName) {
        this.smsRuleName = smsRuleName;
    }

    public String getSmsRuleId() {
        return smsRuleId;
    }

    public void setSmsRuleId(String smsRuleId) {
        this.smsRuleId = smsRuleId;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getCreateTime() {
        return SetBeanUtil.timeSubString(createTime);
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getModifyTime() {
        return SetBeanUtil.timeSubString(modifyTime);
    }

    public void setModifyTime(String modifyTime) {
        this.modifyTime = modifyTime;
    }

    public List<SmsMgrTemplateInfo> getList() {
        return list;
    }

    public void setList(List<SmsMgrTemplateInfo> list) {
        this.list = list;
    }

    public String getCountyId() {
        return countyId;
    }

    public String getCountyName() {
       // return SetBeanUtil.getCountyName(this.countyId);
        return countyName;
    }

    public void setCountyId(String countyId) {
        this.countyId = countyId;
    }

    public void setCountyName(String countyName) {
        this.countyName = countyName;
    }
    
}
